package com.nbot.server.service.impl;

import com.nbot.server.domain.TAqyhAqyhgl;
import com.nbot.server.mapper.cluster.TAqyhAqyhglMapper;
import com.nbot.server.service.TAqyhAqyhglService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class TAqyhAqyhglServiceImpl implements TAqyhAqyhglService {
    @Autowired
    private TAqyhAqyhglMapper tAqyhAqyhglMapper;

    @Override
    public int getTodayCount() {
        return tAqyhAqyhglMapper.getTodayCount();
    }

    @Override
    public List<TAqyhAqyhgl> findLastN(int n) {
        return tAqyhAqyhglMapper.findLastN(n);
    }
}
